<?php
namespace app\company\controller;
use think\Controller;
use think\Request;

class Base extends Controller
{	
	public function _initialize(){
		$this->setSiteMeta();
		$this->request = Request::instance();
	}

	public function is_login(){
		return true;
	}

	protected function setSiteMeta(){
		$site_name        = '高浓度有机污水处理及利用信息门户平台';
		$site_title       = '高浓度有机污水处理及利用信息门户平台';
		$site_keywords    = '有机污水处理及利用,有机废水处理及利用,高浓度有机污水处理及利用,工业废水处理及利用信息门户平台';
		$site_description = '高浓度有机污水处理及利用信息门户平台';
		
		$this->assign('site_name',$site_name);
		$this->assign('site_title',$site_title);
		$this->assign('site_keywords',$site_keywords);
		$this->assign('site_description',$site_description);

	}	
}